package com.mall.model.entity.Pms;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 商品表
 * @author : cck
 * @date : 2025-10-10
 */

@Schema(name = "商品表",description = "")
@TableName("pms_product")
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class PmsProduct implements Serializable{
    private static final long serialVersionUID = 1L;
    /** 主键id */
    @Schema(name = "主键id",description = "")
    @TableId
    private Long id;
    /** 类目id */
    @Schema(name = "类目id",description = "")
    private Long categoryId;
    /** 品牌id */
    @Schema(name = "品牌id",description = "")
    private Long brandId;
    /** 商品描述 */
    @Schema(name = "商品描述",description = "")
    private String description;
    /** 商品状态;0下架 1上架 */
    @Schema(name = "商品状态",description = "0下架 1上架")
    private Integer status;
    /** 逻辑删除;0已删 1正常 */
    @Schema(name = "逻辑删除",description = "0已删 1正常")
    private Integer delLogic;
    /** 创建时间 */
    @Schema(name = "创建时间",description = "")
    private Date createdTime;
}